_strdup和strdup还有string.h和string事
在MSVC中,_strdup(const char *p)函数的作用是返回一个指针,这个指针指向p的一个复制串。 结果输出 :this is a string2488768 60660 ...
在MSVC中,_strdup(const char *p)函数的作用是返回一个指针,这个指针指向p的一个复制串。 结果输出 :this is a string2488768 60660 ...